package com.chy.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chy.common.R;
import com.chy.entity.User;
import com.chy.entity.UserAllInfo;

import java.util.List;
import java.util.Map;

public interface UserService extends IService<User> {
//    User getOneById(Long id);

    Page selectByPage(Map<String, Object> params);

    R<String> createNewUser(Map<String, Object> params);

    R<String> updateUser(Map<String, Object> params);

    Boolean deleteByIds(List<Map<String, Object>> lists);

    R<String> resetPassword(Map<String, Object> params);
}
